package com.design.builder.computer;

/**
 * @author xiemiao
 * @description 高性能电脑
 * @date 2023/08/15
 */
public class HighPerformanceComputer implements ComputerBuilder {

    private Computer computer = new Computer();

    @Override
    public void buildCpu() {
        computer.setCpu("Intel i9-13900k");
    }

    @Override
    public void buildMemory() {
        computer.setMemory("32GB");
    }

    @Override
    public void buildStorage() {
        computer.setStorage("ZhiTai plus7000 2TB");
    }

    @Override
    public void buildGraphicsCard() {
        computer.setGraphicsCard("NVIDIA RTX4090Ti");
    }

    @Override
    public Computer getComputer() {
        return computer;
    }
}
